package assignment8;

public abstract class Vehicle {
	private String type;
	public Vehicle( ) { }
	public Vehicle(String s) { 
		type = s; 
	}
	//根据不同的驾驶员使用不同的方法
	public abstract void drivedByFemaleDriver();
	public abstract void drivedByMaleDriver();
}